package com.bysj.entity;

public class TopicReply {
    private int id;
    private String replycontent;
    private int replytopicid;
    private int replyuserid;
    private String replydate;
    private User replyUser;

    public TopicReply() {
    }

    public TopicReply(int id, String replycontent, int replytopicid, int replyuserid, String replydate) {
        this.id = id;
        this.replycontent = replycontent;
        this.replytopicid = replytopicid;
        this.replyuserid = replyuserid;
        this.replydate = replydate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getReplycontent() {
        return replycontent;
    }

    public void setReplycontent(String replycontent) {
        this.replycontent = replycontent;
    }

    public int getReplytopicid() {
        return replytopicid;
    }

    public void setReplytopicid(int replytopicid) {
        this.replytopicid = replytopicid;
    }

    public int getReplyuserid() {
        return replyuserid;
    }

    public void setReplyuserid(int replyuserid) {
        this.replyuserid = replyuserid;
    }

    public String getrReplydate() {
        return replydate;
    }

    public void setReplydate(String replydate) {
        this.replydate = replydate;
    }

    public String getReplydate() {
        return replydate;
    }

    public User getReplyUser() {
        return replyUser;
    }

    public void setReplyUser(User replyUser) {
        this.replyUser = replyUser;
    }

    @Override
    public String toString() {
        return "ReplyTopic{" +
                "id=" + id +
                ", replycontent='" + replycontent + '\'' +
                ", replytopicid=" + replytopicid +
                ", replyuserid=" + replyuserid +
                ", replydate='" + replydate + '\'' +
                '}';
    }
}
